Optimal. Leaf size=154 \[ -\frac{2 a^2 x^{m+3} \text{HypergeometricPFQ}\left (\left \{1,\frac{m}{2}+\frac{3}{2},\frac{m}{2}+\frac{3}{2}\right \},\left \{\frac{m}{2}+2,\frac{m}{2}+\frac{5}{2}\right \},a^2 x^2\right )}{m^3+6 m^2+11 m+6}-\frac{2 a \sqrt{1-a x} x^{m+2} \cosh ^{-1}(a x) \text{Hypergeometric2F1}\left (\frac{1}{2},\frac{m+2}{2},\frac{m+4}{2},a^2 x^2\right )}{\left (m^2+3 m+2\right ) \sqrt{a x-1}}+\frac{x^{m+1} \cosh ^{-1}(a x)^2}{m+1} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.238126, antiderivative size = 167, normalized size of antiderivative = 1.08, number of steps used = 2, number of rules used = 2, integrand size = 10, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.2, Rules used = {5662, 5763} \[ -\frac{2 a^2 x^{m+3} \, _3F_2\left (1,\frac{m}{2}+\frac{3}{2},\frac{m}{2}+\frac{3}{2};\frac{m}{2}+2,\frac{m}{2}+\frac{5}{2};a^2 x^2\right )}{m^3+6 m^2+11 m+6}-\frac{2 a \sqrt{1-a^2 x^2} x^{m+2} \cosh ^{-1}(a x) \, _2F_1\left (\frac{1}{2},\frac{m+2}{2};\frac{m+4}{2};a^2 x^2\right )}{\left (m^2+3 m+2\right ) \sqrt{a x-1} \sqrt{a x+1}}+\frac{x^{m+1} \cosh ^{-1}(a x)^2}{m+1} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5662
Rule 5763
Rubi steps
\begin{align*} \int x^m \cosh ^{-1}(a x)^2 \, dx &=\frac{x^{1+m} \cosh ^{-1}(a x)^2}{1+m}-\frac{(2 a) \int \frac{x^{1+m} \cosh ^{-1}(a x)}{\sqrt{-1+a x} \sqrt{1+a x}} \, dx}{1+m}\\ &=\frac{x^{1+m} \cosh ^{-1}(a x)^2}{1+m}-\frac{2 a x^{2+m} \sqrt{1-a^2 x^2} \cosh ^{-1}(a x) \, _2F_1\left (\frac{1}{2},\frac{2+m}{2};\frac{4+m}{2};a^2 x^2\right )}{\left (2+3 m+m^2\right ) \sqrt{-1+a x} \sqrt{1+a x}}-\frac{2 a^2 x^{3+m} \, _3F_2\left (1,\frac{3}{2}+\frac{m}{2},\frac{3}{2}+\frac{m}{2};2+\frac{m}{2},\frac{5}{2}+\frac{m}{2};a^2 x^2\right )}{6+11 m+6 m^2+m^3}\\ \end{align*}
Mathematica [A] time = 0.354987, size = 143, normalized size = 0.93 \[ \frac{x^{m+1} \left (\cosh ^{-1}(a x)^2-\frac{2 a x \left (\frac{a x \text{HypergeometricPFQ}\left (\left \{1,\frac{m}{2}+\frac{3}{2},\frac{m}{2}+\frac{3}{2}\right \},\left \{\frac{m}{2}+2,\frac{m}{2}+\frac{5}{2}\right \},a^2 x^2\right )}{m+3}+\frac{\sqrt{1-a^2 x^2} \cosh ^{-1}(a x) \text{Hypergeometric2F1}\left (\frac{1}{2},\frac{m+2}{2},\frac{m+4}{2},a^2 x^2\right )}{\sqrt{a x-1} \sqrt{a x+1}}\right )}{m+2}\right )}{m+1} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.693, size = 0, normalized size = 0. \begin{align*} \int{x}^{m} \left ({\rm arccosh} \left (ax\right ) \right ) ^{2}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (x^{m} \operatorname{arcosh}\left (a x\right )^{2}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int x^{m} \operatorname{acosh}^{2}{\left (a x \right )}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int x^{m} \operatorname{arcosh}\left (a x\right )^{2}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]